testsuite: clear_current() when done
authorBenjamin Otte <otte@redhat.com>
Thu, 6 Jan 2022 18:08:42 +0000 (19:08 +0100)
committerBenjamin Otte <otte@redhat.com>
Thu, 6 Jan 2022 18:22:47 +0000 (19:22 +0100)
commit7872b41f166ebfd1b7c6c53e341b38ff1ca3f72e
treec04602d6d4cb9137f81b7909b22764a150fac779
parentfcdd5173bddd820482c72b770c635b8700f9255d
testsuite: clear_current() when done

That way we ensure that the GL context(s) get disposed, which they
previously weren't due to them still being the current context.

This also implicitly adds testing of gLContext destruction, which
previously wasn't ever done by any test.
testsuite/gdk/memorytexture.c
testsuite/gdk/texture-threads.c